<template lang="html">
    <div class="home">
        <div class="banner">
            <div class="block">
                <el-carousel :interval="5000" arrow="always" trigger="click">
                    <el-carousel-item>
                        <img style="width: 100%;height: 100%;" src="../../assets/img/index/banner1.png" alt="">
                    </el-carousel-item>
                    <el-carousel-item>
                        <img style="width: 100%;height: 100%;" src="../../assets/img/index/banner2.png" alt="">
                    </el-carousel-item>
                    <el-carousel-item>
                        <img style="width: 100%;height: 100%;" src="../../assets/img/index/banner3.png" alt="">
                    </el-carousel-item>
                </el-carousel>
            </div>
        </div>
        <div class="hone-head">
            <div class="home_head-cooperate-content__YHV-D">
                <span>采购寻源 发起合作</span>
                <span class="home_head-cooperate-content-text__8TFLg">大量采购、低价咨询、补货寻源</span>
            </div>
            <div class="btn-hone">
                <span>发起合作</span>
            </div>
        </div>
        <div class="hone-tejia">
            <div class="ant-spin-nested-loading">
                <div class="home-seckill-container">
                    <div class="home-seckill-top">
                        <div class="header-left">
                            <div class="ant-image">
                                <img src="" alt="">
                            </div>
                            <div class="discount-count-down">
                                <span>距离结束仅剩</span>
                                <span class="time">00</span>
                                <span>:</span>
                                <span class="time">00</span>
                                <span>:</span>
                                <span class="time">00</span>
                            </div>
                        </div>
                        <div class="header-right" @click="goMore">
                            更多
                            <img src="" alt="">
                        </div>
                    </div>
                    <div class="home-seckill-goods">
                        <div class="good-box" v-for="item in 6">
                            <div class="img-pic">
                                <img style="width: 100%;height: 100%;" src="../../assets/img/index/good.jpg" alt="">
                            </div>
                            <div class="discount-goods-item-right">
                                <div>
                                     <a class="goods-title">加拿大Webber Naturals伟博天然 深海鱼油900mg 200粒</a>
                                     <div class="goods-jindu">
                                        <el-progress :percentage="50" :format="format"></el-progress>
                                     </div>
                                     <div class="goods-tag">
                                        <div class="goods-tag-item">限时特价</div>
                                     </div>
                                </div>
                                <div class="goods-price">
                                    <div class="goods-price-tax">
                                        <div class="tax-price">
                                            抢好价
                                            <span class="price">￥ 105</span>
                                        </div>
                                        <div class="org-price">￥ 130</div>
                                    </div>
                                    <div class="goods-btn">
                                        <span>抢购</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="home_head-category__Y1TXQ">
            <div class="category-container" style="display: flex;">
                <div class="category-container-item" @click="goSearch">
                    <img style="width: 100%;height: 100%;" src="../../assets/img/index/navgood.webp" alt="">
                </div>
                <div class="category-container-item">
                    <img style="width: 100%;height: 100%;" src="../../assets/img/index/navgood01.webp" alt="">
                </div>
                <div class="category-container-item">
                    <img style="width: 100%;height: 100%;" src="../../assets/img/index/navgood02.webp" alt="">
                </div>
                <div class="category-container-item">
                    <img style="width: 100%;height: 100%;" src="../../assets/img/index/navgood03.webp" alt="">
                </div>
                <div class="category-container-item">
                    <img style="width: 100%;height: 100%;" src="../../assets/img/index/navgood04.webp" alt="">
                </div>
                <div class="category-container-item">
                    <img style="width: 100%;height: 100%;" src="../../assets/img/index/navgood05.webp" alt="">
                </div>
                <div class="category-container-item">
                    <img style="width: 100%;height: 100%;" src="../../assets/img/index/navgood06.webp" alt="">
                </div>
                <div class="category-container-item">
                    <img style="width: 100%;height: 100%;" src="../../assets/img/index/navgood07.webp" alt="">
                </div>
            </div>
        </div>
        <div class="home_page-main__RFpSr">
            <div class="classifyFloor_classify" v-for="item in 2">
                <div class="classifyFloor_classify-item__IfVLm track-classify-0">
                    <div class="ClassifyNav_nav__kd1I4">
                        <span class="ClassifyNav_nav-title__UPVqm">美容和个人护理
                            <span role="img" class="anticon" aria-label="right-circle"></span>
                        </span>
                        <div class="ClassifyNav_nav-btns__Ea6F6">
                            <div class="ClassifyNav_nav-btns__btn__tEJEJ">彩妆</div>
                            <div class="ClassifyNav_nav-btns__btn__tEJEJ">个人护理</div>
                            <div class="ClassifyNav_nav-btns__btn__tEJEJ">工具和配件</div>
                            <div class="ClassifyNav_nav-btns__btn__tEJEJ">头发护理</div>
                            <div class="ClassifyNav_nav-btns__btn__tEJEJ">皮肤护理</div>
                            <div class="ClassifyNav_nav-btns__btn__tEJEJ">足部手部和指甲护理</div>
                            <div class="ClassifyNav_nav-btns__btn__tEJEJ">香水</div>
                            <div class="ClassifyNav_nav-btns__btn__tEJEJ">化妆品</div>
                            <div class="ClassifyNav_nav-btns__btn__tEJEJ">口腔护理</div>
                        </div>
                    </div>  
                    <div class="ClassifyGoods_goods__bgcpv goods">
                        <el-carousel indicator-position="none" height="610px" :autoplay="false" arrow="always">
                            <el-carousel-item v-for="item in 3" :key="item"> 
                              <div class="carousel">
                                <div class="slick-slider">
                                    <div class="slick-list" >
                                        <div class="goods-desc-wrapper" v-for="item in 8" @click="goTo(`/index/commodity/detail?`)">
                                            <div style="width: 188px;height: 188px;">
                                                <img class="img-boxs" style="width: 100%;height: 100%;" src="../../assets/img/index/good.jpg" alt="">
                                            </div>
                                            <div class="goods-desc-info">
                                                <div class="info-name">法国CHANEL香奈儿 山茶花洗面奶 150ml</div>
                                                <div class="info-hot">
                                                    <div class="hot-price">
                                                        <span class="price-type">￥</span>
                                                        <span class="price">390.0</span>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="goods-desc-attr">
                                                <div class="attr-item">保税仓发&国内仓发</div>
                                                <div class="attr-hot">热度&nbsp;&nbsp;1238</div>
                                            </div>
                                        </div>
                                    </div>
                                </div> 
                              </div>
                            </el-carousel-item>
                        </el-carousel>
                    </div>
                    <div class="ClassifyNavHotSell_hot-sell__Uiqa">
                        <div class="ClassifyNavHotSell_hot-sell__header__FY7lw">
                            <img class="ClassifyNavHotSell_hot-sell__icon__ZpMce" src="../../assets/img/index/hot.png" alt="">
                            热销榜
                        </div>
                        <div class="ClassifyNavHotSell_hot-sell-list__u5XKI">
                            <div class="smallGoodsItem" v-for="item in 10">
                                <div class="smallGoodsItem-item">
                                    <div class="smallGoodsItem-item-top">
                                        <div class="lazyload-wrapper" style="width: 73px;height: 63px;">
                                            <img class="smallGoodsItem-item__img" src="../../assets/img/index/good01.png" alt="">
                                        </div>
                                        <div class="smallGoodsItem-item-info">
                                            <span class="smallGoodsItem-item-info-title">法国MAKE UP FOR EVER玫珂菲 定妆喷雾 100ml</span>
                                            <span class="smallGoodsItem-item-info-price">
                                                <span class="price-type">￥ 198</span>
                                            </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>   
            </div>
        </div>
        <homefooter :showtop="true"></homefooter>
    </div>
  <!-- <div class="home">
    <div class="banner">
      <div class="swiper-container">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
            <img src="../../assets/img/index/banner1.png" alt="">
          </div>
          <div class="swiper-slide">
            <img src="../../assets/img/index/banner2.png" alt="">
          </div>
          <div class="swiper-slide">
            <img src="../../assets/img/index/banner3.png" alt="">
          </div>
        </div>
        <div class="swiper-pagination swiper-pagination-white"></div>
        <div class="swiper-button-next swiper-button-white"></div>
        <div class="swiper-button-prev swiper-button-white"></div>
      </div>
    </div>
    <div class="main">
      <div class="main_list">
        <div class="main_list_title">
          热门商品
        </div>
        <div class="main_list_list clearfix">
            <div class="main_list_list_individual" v-for="item in list" :key="item.id" @click="goTo(`/index/commodity/detail?id=${item.id}`)">
              <div class="main_list_img">
                <img :src="$getImg(item.big_img)" alt="暂无图片">
              </div>
              <div class="main_list_details">
                <div :title="item.goods_name">
                  <span class="commodity_type" v-if="item.trade_type_name == '一般贸易'">{{item.trade_type_name}}</span>
                  <span class="commodity_type bonded" v-if="item.trade_type_name == '保税'">{{item.trade_type_name}}</span>
                  <span class="commodity_type direct" v-if="item.trade_type_name == '直邮'">{{item.trade_type_name}}</span>
                  {{item.goods_name}}
                </div>
                <div class="commodity_title">
                  <span>含税：</span>
                  <span class="commodity_price">￥<span>{{item.min_price}}</span></span>
                </div>
              </div>
            </div>
        </div>
      </div>
      <div v-show="loadshow" class="loadingBox">
        <el-row v-loading="loading"
            element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading" >
          <el-col></el-col>
        </el-row>
      </div>
      <div class="brand">
        <div class="title">推荐品牌</div>
        <div class="brandList">
          <div class="listBrand" v-for="(item,index) in brand" :key="index">
            <img :src="item.image" alt="品牌"  @click="goToBrand(item.brand_id)">
          </div>
        </div>
      </div>
    </div>
  </div> -->
</template>


<script>
    import homefooter from '../assembly/footer'
    export default {
        components: {
            homefooter
        },
        data() {
            return {
                imglist: [{
                    imgurl: '../../assets/img/index/banner1.png'
                }, {
                    imgurl: '../../assets/img/index/banner2.png'
                }, {
                    imgurl: '../../assets/img/index/banner3.png'
                }]
            }
        },
        methods: {
            format(percentage) {
                return percentage === 100 ? '满' : `已售${percentage}%`;
            },
            goTo(url) {
                this.$router.push({
                    path: url
                });
            },
            goSearch() {
                this.$router.push('/index/commodity/searchResult');
            },
            goMore() {
                this.$router.push('/index/commodity/discounts');
            }
        }
    }
</script>
<!-- <script>
    import Swiper from "swiper/swiper-bundle.min.js";
    import "swiper/swiper-bundle.min.css";
    export default {
        name: "survey",
        data() {
            return {
                list: [],
                page: 1,
                pageSize: 15,
                total: 0,
                isLond: true,
                loading: true,
                loadshow: true,
                brand: [],
                isHd: false
            };
        },
        beforeRouteEnter(to, from, next) {
            // 在渲染该组件的对应路由被 confirm 前调用
            // 不！能！获取组件实例 `this`
            // 因为当守卫执行前，组件实例还没被创建
            next(vm => {
                // 通过 `vm` 访问组件实例
                window.addEventListener("scroll", vm.rollingLoad, false);
            })
        },
        beforeRouteLeave(to, from, next) {
            // 导航离开该组件的对应路由时调用
            // 可以访问组件实例 `this`
            window.removeEventListener("scroll", this.rollingLoad, false);

            if (from.name != "detail") {
                to.meta.keepAlive = false;
            }
            console.log('hh', to, from);
            next();
        },
        created() {
            this.getList();
            this.$nextTick(() => {
                window.addEventListener("scroll", this.rollingLoad, false);
                let swiper = new Swiper('.swiper-container', {
                    autoplay: true,
                    spaceBetween: 30,
                    effect: 'fade',
                    pagination: {
                        el: '.swiper-pagination',
                        clickable: true,
                    },
                    navigation: {
                        nextEl: '.swiper-button-next',
                        prevEl: '.swiper-button-prev',
                    },
                });
            })
        },
        beforeDestroy() {
            window.removeEventListener("scroll", this.rollingLoad, false);
        },
        methods: {
            goToBrand(brand) {
                var url = `classify?brand_id=${brand}&bz=bz`;
                this.$router.push({
                    path: url
                })
            },
            rollingLoad() {
                let scrollBottom = document.documentElement.scrollHeight - document.documentElement.scrollTop - document.documentElement.clientHeight;
                if (scrollBottom < 200 && this.isLond && this.list.length < this.total) { // 当滚动条距离底部指定距离时
                    ++this.page;
                    this.isLond = false;
                    this.loadshow = true;
                    this.isHd = true;
                    this.getList();
                }
            },
            getList() {
                if (this.isHd == false) {
                    this.$HttpGet("/index.php?s=/admin/brand/index&total=14", {

                    }).then(res => {
                        this.brand = res.data;
                    });
                }

                this.$HttpGet("/index.php?s=/admin/goods/index", {
                    page: this.page,
                    pageSize: this.pageSize
                }).then(res => {
                    this.isLond = true;

                    for (let i = 0; i < res.data.data.length; i++) {
                        let goods_sku = res.data.data[i].goods_sku.spec_sku_id.split("_");
                        for (let j = 0; j < goods_sku.length; j++) {
                            for (let m = 0; m < res.data.data[i].spec_rel.length; m++) {
                                if ((goods_sku[j] == res.data.data[i].spec_rel[m].spec_value_id) && res.data.data[i].spec_rel[m].spec.spec_name == "数量") {
                                    res.data.data[i].hh = parseFloat(res.data.data[i].goods_sku.goods_price) / parseFloat(res.data.data[i].spec_rel[m].spec_value);
                                    break;
                                }
                            }
                        }
                    }
                    this.list = this.list.concat(res.data.data);
                    this.total = res.data.total;
                    this.loadshow = !this.loadshow;
                })
            },
            goTo(url) {
                this.$router.push({
                    path: url
                });
            }
        }
    };
</script> -->

<!-- <style lang="scss" scoped>
    .home {
        position: relative;
        /* width: 100%; */
        width: 1260px;
        margin: 0 auto;
        background-color: #fafafa;
        .banner {
            min-width: 1020px;
            height: 350px;
            img {
                width: 100%;
                min-width: 1020px;
                height: 350px;
                display: block;
            }
            /deep/ .swiper-pagination-bullet {
                width: 50px;
                height: 8px;
                border-radius: 4px;
                background: #FBFAFA;
                opacity: 1;
            }
            /deep/ .swiper-pagination-bullet-active {
                background: #3A61CA;
            }
        }
        .main {
            position: relative;
            width: 1020px;
            top: 30px;
            margin: 0 auto;
            padding-left: 10px;
            .main_list {
                position: relative;
                margin-bottom: 24px;
                .main_list_title {
                    font-size: 20px;
                    font-family: PingFang SC;
                    font-weight: bold;
                    color: #000000;
                    line-height: 24px;
                    margin-bottom: 24px;
                }
                .main_list_list_individual {
                    float: left;
                    width: 194px;
                    height: 290px;
                    background: #ffffff;
                    margin: 10px 10px 0 0;
                    border-radius: 5px;
                    box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.14);
                    cursor: pointer;
                    &:last-child {
                        margin: 10px 0 0 0;
                    }
                    .main_list_img {
                        width: 194px;
                        height: 201px;
                        border-radius: 5px 5px 0 0;
                        overflow: hidden;
                        img {
                            /*height: 200px;*/
                            /*width: 166px;*/
                            max-width: 166px;
                            max-height: 200px;
                            margin: 15px auto;
                            display: block;
                        }
                    }
                    .main_list_details {
                        /*height: 89px;*/
                        box-sizing: border-box;
                        padding-left: 11px;
                        padding-right: 11px;
                        margin-top: 15px;
                        margin-bottom: 15px;
                        color: #000;
                        div {
                            overflow: hidden;
                            text-overflow: ellipsis;
                            display: -webkit-box;
                            /* 将对象作为弹性伸缩盒子模型显示 */
                            -webkit-line-clamp: 2;
                            /* 控制最多显示几行 */
                            -webkit-box-orient: vertical;
                            /* 设置或检索伸缩盒对象的子元素的排列方式 */
                            max-height: 40px;
                            &:first-child {
                                max-height: 40px;
                            }
                        }
                        .commodity_type {
                            display: inline-block;
                            width: 59px;
                            height: 16px;
                            background: #e93e5d;
                            border-radius: 8px;
                            font-size: 11px;
                            font-family: PingFang SC;
                            font-weight: 500;
                            color: #ffffff;
                            line-height: 16px;
                            text-align: center;
                            margin-right: 5px;
                        }
                        .bonded {
                            background: #2CCE30;
                        }
                        .direct {
                            background: #FDA95E;
                        }
                        .commodity_title {
                            font-size: 13px;
                            font-family: PingFang SC;
                            font-weight: 500;
                            color: #000000;
                            .commodity_price {
                                font-size: 15px;
                                font-family: PingFang SC;
                                font-weight: 1000;
                                color: #ea3030;
                                span {
                                    font-size: 19px;
                                }
                            }
                        }
                    }
                }
            }
        }
        .loadingBox {
            height: 100px;
            margin-top: 50px;
            position: relative;
            /deep/ .el-loading-mask {
                background: none;
                .el-icon-loading {
                    font-size: 30px;
                }
            }
        }
        .brand {
            width: 1020px;
            margin-bottom: 50px;
            .title {
                font-size: 20px;
                font-family: PingFang SC;
                font-weight: 500;
                color: #000000;
            }
            .brandList {
                background-color: #ffffff;
                margin-top: 20px;
                box-sizing: border-box;
                display: flex;
                flex-wrap: wrap;
                padding-top: 25px;
                .listBrand {
                    width: 80px;
                    height: 80px;
                    cursor: pointer;
                    margin-left: 58px;
                    margin-bottom: 25px;
                    img {
                        width: 100%;
                        height: auto;
                    }
                }
            }
        }
    }
</style> -->

<style lang="scss" scoped>
    .home {
        width: 1280px;
        margin: 0 auto;
    }
    
    .banner {
        width: 1280px;
        margin: 0 auto;
    }
    
    /deep/.el-carousel__container {
        height: 380px;
    }
    
    .hone-head {
        width: 100%;
        height: 77px;
        position: relative;
        margin-top: 8px;
        background: url(../../assets/img/index/home-head.png);
        background-size: 100% 100%;
    }
    
    .home_head-cooperate-content__YHV-D {
        position: absolute;
        top: 29px;
        left: 378px;
        font-size: 20px;
        font-family: PingFangSC-Semibold, PingFang SC;
        font-weight: 600;
        color: #656EFE;
        height: 28px;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
    }
    
    .home_head-cooperate-content-text__8TFLg {
        font-size: 14px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #656EFE;
        margin-left: 8px;
    }
    
    .btn-hone {
        width: 114px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 14px;
        background-color: #656EFE;
        position: absolute;
        top: 24px;
        right: 245px;
        border-radius: 20px;
    }
    
    .hone-tejia {
        width: 1280px;
        margin-top: 20px;
    }
    
    .ant-spin-nested-loading {
        position: relative;
    }
    
    .home-seckill-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-image: url(../../assets/img/index/tejia.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        border-radius: 6px;
    }
    
    .home-seckill-top {
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: justify;
        justify-content: space-between;
        height: 64px;
        margin: 0 20px;
    }
    
    .header-left {
        display: flex;
        grid-gap: 12px;
        gap: 12px;
        justify-items: center;
    }
    
    .ant-image {
        position: relative;
        display: inline-block;
        width: 130px;
        height: 28px;
    }
    
    .discount-count-down {
        color: #fff;
        font-size: 18px;
    }
    
    .time {
        display: inline-block;
        width: 30px;
        height: 28px;
        margin: 0 6px;
        line-height: 28px;
        text-align: center;
        background: #E81200;
        border-radius: 3px;
    }
    
    .header-right {
        color: #fff;
        font-weight: bold;
        font-size: 18px;
        cursor: pointer;
    }
    
    .home-seckill-goods {
        position: relative;
        width: 1240px px;
        margin: 0 20px 20px;
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .good-box {
        display: flex;
        height: 166px;
        overflow: hidden;
        background-color: #fff;
        border-radius: 6px;
        width: 32.5%;
        margin-bottom: 15px;
    }
    
    .img-pic {
        width: 166px;
        height: 166px;
        /* border: 1px solid #ccc; */
    }
    
    .discount-goods-item-right {
        display: flex;
        flex: 1 1;
        flex-direction: column;
        justify-content: space-between;
        padding: 12px;
        overflow: hidden;
    }
    
    .goods-title {
        display: block;
        overflow: hidden;
        color: #333;
        white-space: nowrap;
        text-overflow: ellipsis;
        cursor: pointer;
        -webkit-line-clamp: 1;
    }
    
    .goods-jindu {
        display: flex;
        align-items: center;
        margin: 8px 0;
        position: relative;
        width: 100%;
        font-size: 14px;
    }
    
    /deep/.el-progress {
        display: flex;
        width: 100%;
        align-items: center;
    }
    
    /deep/.el-progress__text {
        font-size: 12px !important;
        min-width: 60px;
    }
    
    .goods-tag {
        align-items: center;
        display: flex;
    }
    
    .goods-tag-item {
        height: 18px;
        padding: 0 4px;
        color: #ff931b;
        font-size: 12px;
        line-height: 18px;
        background: rgba(255, 147, 27, 0.1);
        border-radius: 2px;
    }
    
    .goods-price {
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: justify;
        justify-content: space-between;
        color: #f44;
        font-size: 14px;
    }
    
    .tax-price {
        font-weight: bold;
    }
    
    .price {
        margin-left: 6px;
        font-size: 18px;
    }
    
    .org-price {
        color: #999;
        font-size: 14px;
        text-decoration: line-through;
    }
    
    .goods-btn {
        display: block;
        width: 72px;
        height: 36px;
        color: #fff;
        font-size: 16px;
        line-height: 36px;
        text-align: center;
        background: linear-gradient(131deg, #ff2a18 0%, #ff4534 100%);
        border-radius: 4px;
        cursor: pointer;
    }
    
    .home_head-category__Y1TXQ {
        width: 1280px;
        margin: 0 auto;
        padding-top: 24px;
    }
    
    .category-container {
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        grid-gap: 0 !important;
        grid-gap: 0 !important;
        gap: 0 !important;
    }
    
    .category-container-item:nth-child(4n) {
        margin-right: 0;
    }
    
    .category-container-item {
        width: 307px;
        height: 110px;
        margin: 0 14px 14px 0;
        overflow: hidden;
        border: 1px solid #eee;
        border-radius: 6px;
        -webkit-box-shadow: none;
        box-shadow: none;
        cursor: pointer;
        -webkit-transition: all 0.2s ease 0s;
        transition: all 0.2s ease 0s;
    }
    
    .home_page-main__RFpSr {
        width: 1280px;
        min-height: 500px;
        margin: 0 auto;
        padding-bottom: 132px;
    }
    
    .classifyFloor_classify {
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .classifyFloor_classify-item__IfVLm {
        display: flex;
        -ms-flex-pack: justify;
        justify-content: space-between;
        width: 1280px;
        height: 610px;
        margin-top: 60px;
        background-color: #fff;
    }
    
    .ClassifyNav_nav__kd1I4 {
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        width: 236px;
        height: 610px;
        padding: 20px;
        overflow: hidden;
        background-size: cover;
        border-radius: 6px;
        background: url(../../assets/img/index/bgn1.jpg);
    }
    
    .ClassifyNav_nav-title__UPVqm {
        position: relative;
        display: inline-block;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: justify;
        justify-content: space-between;
        color: #333;
        font-weight: bold;
        font-size: 18px;
        line-height: 25px;
        cursor: pointer;
    }
    
    .anticon {
        display: inline-block;
        color: inherit;
        font-style: normal;
        line-height: 0;
        text-align: center;
        text-transform: none;
        vertical-align: -0.125em;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
    
    .ClassifyNav_nav-btns__Ea6F6 {
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin-top: 40px;
    }
    
    .classifyFloor_classify-item__IfVLm {
        display: flex;
        -ms-flex-pack: justify;
        justify-content: space-between;
        width: 1280px;
        height: 610px;
        margin-top: 60px;
        background-color: #fff;
    }
    
    .ClassifyNav_nav-btns__btn__tEJEJ {
        box-sizing: border-box;
        width: 80px;
        height: 32px;
        margin-bottom: 16px;
        overflow: hidden;
        color: #666;
        font-weight: bold;
        font-size: 14px;
        line-height: 32px;
        white-space: nowrap;
        text-align: center;
        text-overflow: ellipsis;
        border-radius: 4px;
        cursor: pointer;
    }
    
    .ClassifyNav_nav-btns__btn__tEJEJ:hover {
        background-color: #656EFE;
        color: #fff;
    }
    
    .ClassifyGoods_goods__bgcpv {
        position: relative;
        -ms-flex: 1 1;
        flex: 1 1;
        height: 610px;
        padding: 0 20px 0 25px;
        overflow: hidden;
    }
    
    .slick-slider {
        position: relative;
        display: block;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -ms-touch-action: pan-y;
        touch-action: pan-y;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .slick-list {
        touch-action: pan-y;
        transform: translate3d(0, 0, 0);
        display: flex;
        flex-wrap: wrap;
    }
    
    .carousel {
        width: 100%;
        display: inline-block;
    }
    
    .goods-desc-wrapper {
        width: 183px;
        min-height: 273px;
        max-height: 290px;
        margin-right: 20px;
    }
    
    .goods-desc-wrapper:nth-child(5) {
        margin-top: 26px;
    }
    
    .goods-desc-wrapper:nth-child(6) {
        margin-top: 26px;
    }
    
    .goods-desc-wrapper:nth-child(7) {
        margin-top: 26px;
    }
    
    .goods-desc-wrapper:nth-child(8) {
        margin-top: 26px;
    }
    
    .goods-desc-info {
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        width: 100%;
        margin-top: 8px;
    }
    
    .info-name {
        height: 32px;
        margin-top: 4px;
        color: #333;
        font-size: 12px;
        line-height: normal;
        line-height: initial;
        -webkit-line-clamp: 2;
    }
    
    .info-hot {
        height: 22px;
        margin-top: 8px;
    }
    
    .hot-price {
        font-size: 18px;
        color: #f44;
        font-weight: 600;
        .price-type {
            margin-right: 2px;
            font-size: 12px;
        }
        .price {
            font-size: 18px;
        }
    }
    
    .goods-desc-attr {
        margin-top: 8px;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: justify;
        justify-content: space-between;
        width: 100%;
        height: 18px;
    }
    
    .attr-item {
        width: 150px;
        height: 18px;
        margin-right: 6px;
        overflow: hidden;
        color: #666;
        font-size: 12px;
        white-space: nowrap;
        text-overflow: ellipsis;
        word-break: break-all;
        border-radius: 1px;
    }
    
    .attr-hot {
        width: 78px;
        overflow: hidden;
        color: #999;
        font-size: 12px;
        white-space: nowrap;
        text-align: right;
        text-overflow: ellipsis;
        word-break: break-all;
    }
    
    .ClassifyNavHotSell_hot-sell__Uiqa {
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 187px;
        font-size: 12px;
    }
    
    .ClassifyNavHotSell_hot-sell__header__FY7lw {
        height: 32px;
        font-weight: 600;
        font-size: 16px;
        line-height: 18px;
        border-bottom: 1px solid #eee;
        color: #000;
    }
    
    .ClassifyNavHotSell_hot-sell__icon__ZpMce {
        margin-right: 12px;
    }
    
    .ClassifyNavHotSell_hot-sell-list__u5XKI {
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        height: 610px;
        margin-top: 15px;
        overflow: auto;
        background-color: #fff;
    }
    
    .smallGoodsItem:nth-child(1) {
        margin-top: 0;
    }
    
    .smallGoodsItem {
        margin-top: 15px;
    }
    
    .smallGoodsItem-item {
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding-right: 4px;
        color: #333;
        /* border-bottom: 1px solid #eee; */
        cursor: pointer;
    }
    
    .smallGoodsItem-item-top {
        display: flex;
        -ms-flex-align: center;
        align-items: center;
    }
    
    .lazyload-wrapper {}
    
    .smallGoodsItem-item-info {
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: justify;
        justify-content: space-between;
        height: 63px;
        line-height: 16px;
    }
    
    .smallGoodsItem-item-info-title {
        display: -webkit-box;
        height: 32px;
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .smallGoodsItem-item-info-price {
        margin-bottom: 5px;
        color: #FF4444;
        font-weight: bold;
        line-height: 12px;
    }
    
    .img-boxs:hover {
        transform: scale(1.1)
    }
    
    .category-container-item:hover {
        box-shadow: 0 0 8px 0 #ccc;
    }
    
    .img-pic:hover {
        transform: scale(1.1)
    }
    
    img {
        cursor: pointer;
    }
    
    .smallGoodsItem-item__img:hover {
        transform: scale(1.1)
    }
    
    .smallGoodsItem-item__img {
        width: 63px !important;
        height: 63px;
        margin-right: 10px;
        border-radius: 2px;
        -webkit-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
    }
</style>